package com.iron.sfm.biz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.codingapi.txlcn.tc.annotation.LcnTransaction;
import com.iron.sfm.api.entity.TxB;
import com.iron.sfm.biz.mapper.TxBMapper;
import com.iron.sfm.biz.service.TxBService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * 
 *
 * @author yt
 * @date 2019-07-16 17:08:15
 */
@Service
@AllArgsConstructor
public class TxBServiceImpl extends ServiceImpl<TxBMapper, TxB> implements TxBService {

    @LcnTransaction
    @Transactional
    @Override
    public boolean saveTxB(TxB txB) {
        return super.save(txB);
    }
}
